/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.pz.net;

import java.net.SocketAddress;
import java.nio.channels.DatagramChannel;

/**
 *
 * @author Jannek
 */
public class Client {
    private String name;
    private int id;
    private int key;
    
    private SocketAddress masterServerAddress;
    private SocketAddress serverAddress;
    
    private DatagramChannel channel;

    public Client(int id, int key, SocketAddress masterServerAddress, DatagramChannel channel) {
        this.id = id;
        this.key = key;
        this.masterServerAddress = masterServerAddress;
        this.channel = channel;
    }
    
    protected receive(ByteBuffer data, int from)
    
}
